package com.itheima.d6_Set;

public class HashCodeDemo1 {
    public static void main(String[] args) {
        //1. 学会获取对象哈希值
        String s  = "abc";
        String c = "tcd";
        int i = s.hashCode();
        int j = s.hashCode();
        int k = c.hashCode();
        System.out.println(i);
        System.out.println(j);
        System.out.println(k);
    }
}
